using Net35.Xrm.Sdk.Metadata.Query;
using System;
using System.Runtime.Serialization;
namespace Net35.Xrm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed class RetrieveMetadataChangesRequest : OrganizationRequest
	{
		public EntityQueryExpression Query
		{
			get
			{
				if (base.Parameters.Contains("Query"))
				{
					return (EntityQueryExpression)base.Parameters["Query"];
				}
				return null;
			}
			set
			{
				base.Parameters["Query"] = value;
			}
		}
		public DeletedMetadataFilters DeletedMetadataFilters
		{
			get
			{
				if (base.Parameters.Contains("DeletedMetadataFilters"))
				{
					return (DeletedMetadataFilters)base.Parameters["DeletedMetadataFilters"];
				}
				return (DeletedMetadataFilters)0;
			}
			set
			{
				base.Parameters["DeletedMetadataFilters"] = value;
			}
		}
		public string ClientVersionStamp
		{
			get
			{
				if (base.Parameters.Contains("ClientVersionStamp"))
				{
					return (string)base.Parameters["ClientVersionStamp"];
				}
				return null;
			}
			set
			{
				base.Parameters["ClientVersionStamp"] = value;
			}
		}
		public RetrieveMetadataChangesRequest()
		{
			base.RequestName = "RetrieveMetadataChanges";
		}
	}
}
